home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
bioinformatics.org
/
bioinformatics.org_software.tar
/
www.bioinformatics.org
/
download
/
ecell2
/
ecell220setup.exe
/
{app}
/
standard
/
STDR
/
ConstantParameterReactor.rd
< prev
next >
Wrap
Text File
|
2000-03-03
|
782b
|
42 lines
@CLASSNAME: ConstantParameterReactor
@BASECLASS: Reactor
@BRIEF_DESCRIPTION:Sets constant parameter
%VERSION: ecs-v08, 0.1
@DATE: 18/7/1999
@AUTHOR: Yusuke Saito
@EMAIL: t96406ys@sfc.keio.ac.jp
@DESCRIPTION:A reactor class where activity is maintained at the
parameter value.
For example, if a parameter defining system value is applied, volume
value is defined by the activity of the ConstantParameterReactor.
In this case, the `InitialActivity' of this reactor must be specified
in the Rulefile.
@EQUATION: $$ Activity = Value $$
@PRIVATE:
Float _value;
%PARAMETER: Value, Float, , Parameter
%INCLUDE_FILE_H: StandardHeaders.h
%INCLUDE_FILE_C: Stepper.h
@REACT_FUNC:
_value = Value * supersystem()->stepper()->deltaT();
setActivity(_value);